package com.yidu.hbatsams.dao;

import com.yidu.hbatsams.domain.AtsEmpExpert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AtsEmpExpertMapper {
    /**
     * 逻辑删除
     * @mbg.generated 2019-10-29
     */
    int deleteByPrimaryKey(Integer expertId);

    /**
     * 数据新增
     * @mbg.generated 2019-10-29
     */
    int insertExpert(AtsEmpExpert record);

    /**
     * 条件新增
     * @mbg.generated 2019-10-29
     */
    int insertSelective(AtsEmpExpert record);

    /**
     * 根据ID查询
     * @mbg.generated 2019-10-29
     */
    AtsEmpExpert selectByPrimaryKey(Integer expertId);

    /**
     * 条件修改
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKeySelective(AtsEmpExpert record);

    /**
     * 根据ID修改数据
     * @mbg.generated 2019-10-29
     */
    int updateExpertByPrimaryKey(AtsEmpExpert record);

    /**
     * 查询所有显示
     * @param expertName
     * @return
     */
    List<AtsEmpExpert> selectAll(String expertName,String startTime,String endTime);

    List<AtsEmpExpert> selectExpert();

    /**
     * 总行数
     * @return
     */
    Long count();
}